/*
 * BanBu_AlbumModel
 * @description 本文件提供专辑的model数据类型
 * @package
 * @author 		yinlinlin
 * @copyright
 * @version 		1.0
 * @description 本文件提供专辑的model数据类型
 */


#import "BanBu_AlbumModel.h"

@implementation BanBu_AlbumModel
@synthesize album_id = _album_id;
@synthesize album_title = _album_title;
@synthesize numCount = _numCount;
@synthesize user_id = _user_id;
@synthesize album_type = _album_type;
@synthesize personalbum_type = _personalbum_type;
@synthesize opengroup = _opengroup;
@synthesize hidegroup = _hidegroup;
@synthesize question = _question;
@synthesize answer = _answer;
@synthesize faceIdStr = _faceIdStr;

- (void)dealloc
{
    [_faceIdStr release];
    _faceIdStr = nil;
    [_question release];
    _question = nil;
    [_answer release];
    _answer = nil;
    [_album_title release];
    _album_title = nil;
    [_album_id release];
    _album_id = nil;
    [_image_url release];
    _image_url = nil;
    [_opengroup release];
    _opengroup = nil;
    [_hidegroup release];
    _hidegroup = nil;
    [super dealloc];
}
-(id) copyWithZone:(NSZone *)zone //创建一个复制的接收器,储存zone
{
    BanBu_AlbumModel *albumModel = [[BanBu_AlbumModel allocWithZone:zone]init];
    albumModel.album_id = _album_id;
    albumModel.album_title = _album_title;
    albumModel.numCount = _numCount;
    albumModel.image_url = _image_url;
    albumModel.user_id = _user_id;
    albumModel.album_type = _album_type;
    albumModel.personalbum_type = _personalbum_type;
    albumModel.opengroup = _opengroup;
    albumModel.hidegroup = _hidegroup;
    albumModel.question = _question;
    albumModel.answer = _answer;
    albumModel.faceIdStr = _faceIdStr;
    return albumModel;
}
@end
